package com.beta.service.impl;

import com.baomidou.mybatisplus.plugins.Page;
import org.springframework.stereotype.Service;

import com.beta.mapper.StockLocationsMapper;
import com.beta.entity.StockLocations;
import com.beta.service.IStockLocationsService;
import com.baomidou.framework.service.impl.SuperServiceImpl;

/**
 *
 * StockLocations 表数据服务层接口实现类
 *
 */
@Service
public class StockLocationsService extends SuperServiceImpl<StockLocationsMapper, StockLocations> implements IStockLocationsService {
    @Override
    public Page<StockLocations> getStockLocations(Page<StockLocations> page,String name) {
        page.setRecords(baseMapper.getStockLocations(page,name));
        return page;
    }
}